﻿<wpfc:HostControl x:Class="Sobiens.Connectors.WPF.Controls.ConnectorExplorer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:WpfToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"
             xmlns:ExtendedGridControl="clr-namespace:Sobiens.WPF.Controls.ExtendedGridControl;assembly=Sobiens.WPF.Controls"
             xmlns:ExtendedColumn="clr-namespace:Sobiens.WPF.Controls.ExtendedColumn;assembly=Sobiens.WPF.Controls" mc:Ignorable="d" 
             xmlns:wpfc="clr-namespace:Sobiens.Connectors.WPF.Controls"
             d:DesignHeight="483" d:DesignWidth="300" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" xmlns:my1="clr-namespace:Sobiens.Connectors.WPF.Controls">
    <Grid>
        <DockPanel>
            <StackPanel DockPanel.Dock="Top" x:Name="HierarchyStackPanel">
                <TabControl HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="NavigationTabControl" VerticalAlignment="Stretch" FlowDirection="LeftToRight" TabStripPlacement="Left" SelectionChanged="NavigationTabControl_SelectionChanged">
                    <TabItem Name="HierachyBreadcumbTabItem" BorderThickness="0" Padding="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                        <TabItem.Header>
                            <Image HorizontalAlignment="Left" Name="image2" VerticalAlignment="Top" Source="/Sobiens.Connectors.WPF.Controls;component/Images/spfolder.gif" Width="16" Height="16" />
                        </TabItem.Header>
                        <Grid >
                            <my1:HierarchyBreadcrumbBar HorizontalAlignment="Stretch" Margin="0,0,0,0" x:Name="hierarchyBreadcrumbBar1" VerticalAlignment="Stretch" After_SelectFolder="hierarchyBreadcrumbBar1_After_Select" After_LoadedViews="hierarchyBreadcrumbBar1_After_LoadedViews" />
                        </Grid>
                    </TabItem>
                    <TabItem Name="HierarchyTreeViewTabItem" BorderThickness="0" Padding="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
                        <TabItem.Header>
                            <Image Margin="0,0,0,0" HorizontalAlignment="Left" Name="image1" VerticalAlignment="Top" Source="/Sobiens.Connectors.WPF.Controls;component/Images/navigation.gif" Width="16" Height="16" />
                        </TabItem.Header>
                        <Grid  Height="250">
                            <my1:HierarchyNavigator Height="250" x:Name="hierarchyNavigator" Margin="0,0,0,0" VerticalAlignment="Stretch" After_SelectFolder="hierarchyNavigator_After_Select_1" HorizontalAlignment="Stretch" After_LoadedViews="hierarchyNavigator_After_LoadedViews" />
                        </Grid>
                    </TabItem>
                    <TabItem Name="AdvancedSearchTabItem" BorderThickness="0" Padding="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                        <TabItem.Header>
                            <Image HorizontalAlignment="Left" Name="image3" VerticalAlignment="Top" Source="/Sobiens.Connectors.WPF.Controls;component/Images/searchqry.gif" Width="16" Height="16" />
                        </TabItem.Header>
                        <Grid >
                            <my1:AdvancedSearchFiltersPanel x:Name="advancedSearchFiltersPanel" Margin="0,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" After_ExecuteSearch="advancedSearchFiltersPanel_After_ExecuteSearch" />
                        </Grid>
                    </TabItem>
                </TabControl>                
            </StackPanel>

            <my1:ContentExplorer HorizontalAlignment="Stretch" Margin="0,0,0,0" x:Name="LibraryContentDataGridView" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" After_Populate="LibraryContentDataGridView_After_Populate" />

            <!--<ExtendedGridControl:ExtendedDataGrid x:Name="LibraryContentDataGridView" ItemsSource="{Binding SourceTable}" AutoGenerateColumns="False" HideColumnChooser="True" AllowDrop="True" Drop="LibraryContentDataGridView_DragDrop" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" MouseDoubleClick="LibraryContentDataGridView_MouseDoubleClick" SelectionMode="Single" CanUserAddRows="False" ContextMenuOpening="LibraryContentDataGridView_ContextMenuOpening" AreRowDetailsFrozen="False">
            </ExtendedGridControl:ExtendedDataGrid>-->
        </DockPanel>
    </Grid>
</wpfc:HostControl>
